package com.mike.spring.IOC;

import org.springframework.stereotype.Component;

@Component
public class DaoJhonesNewsListener implements NewsListener {
    @Override
    public void getNews() {
        System.out.println("DaoJones");
    }
}
